<extend name="Base/common"/>
<block name="header">
    <include file="Public/_nav"/>
    <link type="text/css" rel="stylesheet" href="__CSS__/wckc.css">
    <!-- <script type="text/javascript" src="__JS__/common.js"></script> -->
</block>

<block name="body">

      <!--   <include file="Public/_hot_sell"/> -->
        <!-- 左侧菜start -->
        <div class="col-md-2">            
          <include file="Public/sidebar"  />
        </div>
        <!-- 左侧菜end -->
  <!--内容栏start-->
  <div class="col-md-10">
  <div class="row container-fluid "> 
  <div class="common-block-lg">
       <ul class="nav nav-tabs">
           <li><a href="{:U('Zhanshi/jiemu')}"><i class="icon icon-th-large"> </i>五彩课程展示</a></li>
           <li><a href="{:U('Zhanshi/jiemuhz')}"><i class="icon icon-th-large"> </i>节目汇总</a></li>
           <li class="active"><a href="{:U('Zhanshi/downjiemuMusic')}"><i class="icon icon-th-large"> </i>展示音乐汇总</a></li>
       </ul>
       

         <div class="col-md-10"><h1 style="color:#CC4444">五彩课程汇报展示节目上报 </h1></div>
        <hr class="col-md-8"/> 

   <div class="col-md-10">
 
      <form method='post' id="form" class="form-inline" name="formjiemu"  action="" >
 
           <div class="col-md-5 form-group">
           <label class="control-lable" for="class"> 学　　年：</label>
           <select name="year" id="year" class="form-control"  style="width:180px;" onChange="this.form.submit()">                
                <option value="">{$Think.post.year|default="2015"}</option>
                <option value="" > 请选择学年</option>
                <option >2015</option>
                                         
            </select>
            </div>


           <div class="col-xs-4 form-group"> <button type="submit" class="btn btn-primary">导出Excel文档</button></div>
<div class="col-md-12">&nbsp; </div>  
        </div>
      </form> 
    <!-- Table start --> 
         <div class="col-xs-10">     
        <table class="table table-striped table-bordered" width="100%">
        <thead>
        <tr class="info">
            <th class="text-center">序号</th><th class="text-center">课程名称</th><th class="text-center">任课教师</th><th class="text-center">节目名称</th>
            <th class="text-center">节目形式</th><th class="text-center">时长</th><th class="text-center">人数</th><th class="text-center">音乐</th>
            <th class="text-center">音乐上传日期</th>
            <th class="text-center">操作</th>
        </tr>
        </thead>
        <volist name="jiemulist" id="vo" >
        <tr>
            <td>{$i}</td>          
            <td>{$vo.kecheng}</td>
            <td>{$vo.teacher}</td>
            <td>{$vo.jiemu_name}</td><td>{$vo.jiemu_xingshi}</td><td>{$vo.jiemu_time}</td><td>{$vo.jiemu_renshu}</td>
            
            <td> 
               <div class="pull-right"> <notempty name="vo.file_url">
                <a href="{:U('downloadmusic','id='.$vo['id'])}" title="{$vo.filename}">
                <i class="glyphicon glyphicon-music"></i>下载音乐</a> 
                <else/>
               <a href="{:U('upMusicfile','id='.$vo['id'])}" title="">
               <i class="glyphicon glyphicon-upload"></i>上传</a>
                </notempty>
             </div>
             </td>
             <td class="text-center"><notempty name="vo.upfile_time">
             {$vo.upfile_time|date='Y-m-d',###}<else/> 
             </notempty>
             </td>
            <td class="text-center">                      
            <a href="{:U('Index/jiemuedit?id='.$vo['id'])}" >编辑</a>｜
             <a href="{:U('Index/jiemuMusic?id='.$vo['id'])}" >上传音乐</a>｜
            <a href= "{:U('Index/delete?id='.$vo['id'])}" >删除</a></td>
            </tr>
        </volist>
        </table> 
     </div>
 <!--/Table-->
 </div>
</div>
</div>

     
</block>